export function getFileDesc(f) {
  const newName = "" + (new Date()).valueOf() + Math.round(Math.random() * 10) + Math.round(Math.random() * 10) + Math.round(Math.random() * 10);
  const name = f.name
  const suffix = name.lastIndexOf('.') > 0 ? name.substr(name.lastIndexOf('.')) : ""
  return {
    fname: f.name,
    upName: newName + suffix,
    process: 0,
    file: f
  }
}